package com.kjsb.service;

import com.kjsb.entity.ProjectCategory;
import com.kjsb.vo.ProjectSearch;

import java.util.List;

/**
 * 项目类别业务处理接口
 */
public interface ProjectCategoryService {

    public List<ProjectCategory> getAll();
    public Boolean save(ProjectCategory projectCategory);
    public Boolean updateCategoryName(ProjectCategory projectCategory);
    public ProjectCategory getOneById(int id);
    public Boolean removeById(int id);
    public List<Integer> getAllProjectByCategoryId(int CategoryId);
    public List<Integer> getAllUnitByCategoryId(int categoryId);
    public Boolean removeAllProjectByCategoryId(int CategoryId);
    public Boolean removeAllUnitByCategoryId(int CategoryId);
    public List<ProjectCategory> getExpertProject(Integer expertid);

    List<ProjectCategory> getByEid(int eid);
}
